3.2.7 \(\int \frac {x^8}{(a+b x^3) (c+d x^3)} \, dx\)

Optimal. Leaf size=70 \[ \frac {a^2 \log \left (a+b x^3\right )}{3 b^2 (b c-a d)}-\frac {c^2 \log \left (c+d x^3\right )}{3 d^2 (b c-a d)}+\frac {x^3}{3 b d} \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 70, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.091, Rules used = {446, 72} \begin {gather*} \frac {a^2 \log \left (a+b x^3\right )}{3 b^2 (b c-a d)}-\frac {c^2 \log \left (c+d x^3\right )}{3 d^2 (b c-a d)}+\frac {x^3}{3 b d} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^8/((a + b*x^3)*(c + d*x^3)),x]

[Out]

x^3/(3*b*d) + (a^2*Log[a + b*x^3])/(3*b^2*(b*c - a*d)) - (c^2*Log[c + d*x^3])/(3*d^2*(b*c - a*d))

Rule 72

Int[((e_.) + (f_.)*(x_))^(p_.)/(((a_.) + (b_.)*(x_))*((c_.) + (d_.)*(x_))), x_Symbol] :> Int[ExpandIntegrand[(
e + f*x)^p/((a + b*x)*(c + d*x)), x], x] /; FreeQ[{a, b, c, d, e, f}, x] && IntegerQ[p]

Rule 446

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_))^(q_.), x_Symbol] :> Dist[1/n, Subst[Int
[x^(Simplify[(m + 1)/n] - 1)*(a + b*x)^p*(c + d*x)^q, x], x, x^n], x] /; FreeQ[{a, b, c, d, m, n, p, q}, x] &&
 NeQ[b*c - a*d, 0] && IntegerQ[Simplify[(m + 1)/n]]

Rubi steps

\begin {align*} \int \frac {x^8}{\left (a+b x^3\right ) \left (c+d x^3\right )} \, dx &=\frac {1}{3} \operatorname {Subst}\left (\int \frac {x^2}{(a+b x) (c+d x)} \, dx,x,x^3\right )\\ &=\frac {1}{3} \operatorname {Subst}\left (\int \left (\frac {1}{b d}+\frac {a^2}{b (b c-a d) (a+b x)}+\frac {c^2}{d (-b c+a d) (c+d x)}\right ) \, dx,x,x^3\right )\\ &=\frac {x^3}{3 b d}+\frac {a^2 \log \left (a+b x^3\right )}{3 b^2 (b c-a d)}-\frac {c^2 \log \left (c+d x^3\right )}{3 d^2 (b c-a d)}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.07, size = 66, normalized size = 0.94 \begin {gather*} \frac {a^2 d^2 \log \left (a+b x^3\right )-b \left (d x^3 (a d-b c)+b c^2 \log \left (c+d x^3\right )\right )}{3 b^2 d^2 (b c-a d)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^8/((a + b*x^3)*(c + d*x^3)),x]

[Out]

(a^2*d^2*Log[a + b*x^3] - b*(d*(-(b*c) + a*d)*x^3 + b*c^2*Log[c + d*x^3]))/(3*b^2*d^2*(b*c - a*d))

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^8}{\left (a+b x^3\right ) \left (c+d x^3\right )} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x^8/((a + b*x^3)*(c + d*x^3)),x]

[Out]

IntegrateAlgebraic[x^8/((a + b*x^3)*(c + d*x^3)), x]

________________________________________________________________________________________

fricas [A]  time = 1.16, size = 72, normalized size = 1.03 \begin {gather*} \frac {a^{2} d^{2} \log \left (b x^{3} + a\right ) - b^{2} c^{2} \log \left (d x^{3} + c\right ) + {\left (b^{2} c d - a b d^{2}\right )} x^{3}}{3 \, {\left (b^{3} c d^{2} - a b^{2} d^{3}\right )}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8/(b*x^3+a)/(d*x^3+c),x, algorithm="fricas")

[Out]

1/3*(a^2*d^2*log(b*x^3 + a) - b^2*c^2*log(d*x^3 + c) + (b^2*c*d - a*b*d^2)*x^3)/(b^3*c*d^2 - a*b^2*d^3)

________________________________________________________________________________________

giac [A]  time = 0.18, size = 70, normalized size = 1.00 \begin {gather*} \frac {a^{2} \log \left ({\left | b x^{3} + a \right |}\right )}{3 \, {\left (b^{3} c - a b^{2} d\right )}} - \frac {c^{2} \log \left ({\left | d x^{3} + c \right |}\right )}{3 \, {\left (b c d^{2} - a d^{3}\right )}} + \frac {x^{3}}{3 \, b d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8/(b*x^3+a)/(d*x^3+c),x, algorithm="giac")

[Out]

1/3*a^2*log(abs(b*x^3 + a))/(b^3*c - a*b^2*d) - 1/3*c^2*log(abs(d*x^3 + c))/(b*c*d^2 - a*d^3) + 1/3*x^3/(b*d)

________________________________________________________________________________________

maple [A]  time = 0.05, size = 65, normalized size = 0.93 \begin {gather*} -\frac {a^{2} \ln \left (b \,x^{3}+a \right )}{3 \left (a d -b c \right ) b^{2}}+\frac {x^{3}}{3 b d}+\frac {c^{2} \ln \left (d \,x^{3}+c \right )}{3 \left (a d -b c \right ) d^{2}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^8/(b*x^3+a)/(d*x^3+c),x)

[Out]

1/3*x^3/b/d-1/3*a^2/b^2/(a*d-b*c)*ln(b*x^3+a)+1/3*c^2/d^2/(a*d-b*c)*ln(d*x^3+c)

________________________________________________________________________________________

maxima [A]  time = 0.59, size = 68, normalized size = 0.97 \begin {gather*} \frac {a^{2} \log \left (b x^{3} + a\right )}{3 \, {\left (b^{3} c - a b^{2} d\right )}} - \frac {c^{2} \log \left (d x^{3} + c\right )}{3 \, {\left (b c d^{2} - a d^{3}\right )}} + \frac {x^{3}}{3 \, b d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^8/(b*x^3+a)/(d*x^3+c),x, algorithm="maxima")

[Out]

1/3*a^2*log(b*x^3 + a)/(b^3*c - a*b^2*d) - 1/3*c^2*log(d*x^3 + c)/(b*c*d^2 - a*d^3) + 1/3*x^3/(b*d)

________________________________________________________________________________________

mupad [B]  time = 2.84, size = 68, normalized size = 0.97 \begin {gather*} \frac {a^2\,\ln \left (b\,x^3+a\right )}{3\,b^3\,c-3\,a\,b^2\,d}+\frac {c^2\,\ln \left (d\,x^3+c\right )}{3\,a\,d^3-3\,b\,c\,d^2}+\frac {x^3}{3\,b\,d} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^8/((a + b*x^3)*(c + d*x^3)),x)

[Out]

(a^2*log(a + b*x^3))/(3*b^3*c - 3*a*b^2*d) + (c^2*log(c + d*x^3))/(3*a*d^3 - 3*b*c*d^2) + x^3/(3*b*d)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**8/(b*x**3+a)/(d*x**3+c),x)

[Out]

Timed out

________________________________________________________________________________________